![]() |
![]() |
![]() |
|
DX11 GET IMAGE PIXEL BUFFER SIZE
Returns the size, in bytes, of the pixel data belonging to the specified image. DX11 GET IMAGE PIXEL BUFFER SIZE(img) / (DX11 GET IMAGE PIXEL BUFFER WIDTH()DX11 GET IMAGE PIXEL BUFFER HEIGHT) Take note that the specified image must be locked for this function to succeed. Also beware that an image block may be padded to correspond to a certain size as determined by the GPU. The size returned by this function is of the entire pixel buffer, including any such padding.
Return Dword = DX11 GET IMAGE PIXEL BUFFER SIZE(img)
img Dword
The size of the pixel data belonging to the locked image, or 0 if the specified image isn't locked when this function is called.
IMAGE Functions Menu |
![]() |